{# Feedback macros (pattern 6): what the page says back. Import what you need: {% from "components/macros/feedback.html" import empty_state, error_banner %} Toasts need no import: a route calls ``with_toast(response, "Saved")`` and the region below, mounted once by base.html, shows it. #} {# The toast surface. htmx turns the ``HX-Trigger`` header into a ``toast`` DOM event on the requesting element; it bubbles to the window and the Alpine ``toasts`` component (static/js/app.js) queues it. One region per page, fixed to the viewport, outside ``#app-content`` so it survives section swaps. Polite live region: announced, never interrupting. #} {% macro toast_region() %}
{{ hint }}
{% endif %}